package com.crud.demo1.demos.entity;

import lombok.Data;

/**
 * @author zhangning
 * @since 2024/4/9 15:53
 */
@Data
public class User {
    String name;
    int age;
    User friend;// 对象类型属性

    public User() {
    }

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }
}